package com.jiechuang.common.bean.addOrUpdate;

import lombok.Data;
import org.springframework.util.StringUtils;

@Data
public class UserAddOrUpdate {
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String phone;
    private Integer type;
    public String getPassword() {
        return StringUtils.hasLength(password)?password:null;
    }
}
